package com.ctgu.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ctgu.demo.entity.Dessert;

/**
 * @program: MybitsPlusConfig
 * @description:
 * @author: gh
 * @create: 2020-06-22 12:27
 **/
public interface DessertService extends IService<Dessert> {

    //IPage<Dessert> getDessert(Page<Dessert> page);
    IPage<Dessert> getAll(int page, int size);
    IPage<Dessert> selectDessert(String name, int page, int size);
}
